.element {
  width: 90%;
  // background-color: red;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease-in-out;

  .title {
    margin-bottom: 10px;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    color: #515c6b;

    // background-color: pink;
    &.one {
      height: 20px;
    }

    .title_top {
      width: 20%;
      height: 50%;
      // background-color: #fff;
      display: flex;
      align-items: center;

      .iconfont {
        margin-right: 10px;
        font-size: 24px;
      }

      h3 {
        scroll-margin-top: 130px;
      }
    }

    .title_bottom {
      height: 40%;
      position: relative;
      // background-color: #e0e0e0;


      ul {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        padding: 0 2px;
        height: 100%;
        background-color: #e0e0e0;
        border-radius: 40px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        cursor: pointer;
        transition: all 0.5s ease-in-out;


        li {
          margin: 0 2px;
          width: 80px;
          height: 90%;
          border-radius: 20px;
          // background-color: #fff;
          scroll-margin-top: 130px;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.5s ease-in-out;

          &.active {
            color: #fff;
            background-color: #b895a7;
          }

          &:hover {
            color: #fff;
            background-color: #b895a7;
          }
        }
      }

      .line {

        position: absolute;
        left: 0;
        top: 50%;
        z-index: 1;
        transform: translateY(-50%);
        margin-left: 5px;
        height: 90%;
        width: 80px;
        border-radius: 20px;
        background-color: #b895a7;

      }


    }


  }

  .items {
    width: 100%;
    // height: 400px;

    ul {
      width: 100%;
      // height: 100%;
      display: flex;
      align-items: center;
      cursor: pointer;
      flex-wrap: wrap;
      // background-color: red;

      li {
        margin: 10px;
        width: 18%;
        height: 35px;
        border-radius: 5px;
        box-shadow: 1px 1px 5px #0000000a;
        background-color: #fff;
        position: relative;
        transition: all 0.2s ease-in-out;

        &:hover {
          color: #b895a7;
          transform: translateY(-15%);
          box-shadow: 3px 4px 18px #00000019;
        }

        &:hover .icon-yuanjiantou {
          color: #b895a7;

        }

        .name {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;

          img {
            position: absolute;
            top: 50%;
            left: 2px;
            transform: translateY(-50%);
            width: 25px;
            height: 25px;
            border-radius: 50%;
          }

          span {
            position: absolute;

            top: 50%;

            transform: translateY(-50%);
            left: 35px;
          }
        }

        .icon-yuanjiantou {
          position: absolute;
          top: 50%;
          right: 5px;
          transform: translateY(-50%);
          color: #e2e3e5;
          transition: all 0.2s ease-in-out;
        }
      }
    }
  }
}